package com.yc.yjh.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 赛事报名表
 * </p>
 *
 * @author 廖老师
 * @since 2023-07-21
 */
public class Registrations implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 报名ID
     */
    private Long registrationId;

    /**
     * 赛事ID
     */
    private Long tournamentId;

    /**
     * 队伍ID
     */
    private Long teamId;

    /**
     * 选手ID
     */
    private Long playerId;

    /**
     * 报名状态
     */
    private String status;

    /**
     * 报名时间
     */
    private LocalDateTime time;


    public Long getRegistrationId() {
        return registrationId;
    }

    public void setRegistrationId(Long registrationId) {
        this.registrationId = registrationId;
    }

    public Long getTournamentId() {
        return tournamentId;
    }

    public void setTournamentId(Long tournamentId) {
        this.tournamentId = tournamentId;
    }

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public Long getPlayerId() {
        return playerId;
    }

    public void setPlayerId(Long playerId) {
        this.playerId = playerId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Registrations{" +
        "registrationId=" + registrationId +
        ", tournamentId=" + tournamentId +
        ", teamId=" + teamId +
        ", playerId=" + playerId +
        ", status=" + status +
        ", time=" + time +
        "}";
    }
}
